# tmux.conf v0.1.0
# tmux envirment custom config file for me and yours
# Copyright by calvin 2021

set -g default-terminal "linux"
set -g display-time 3000

set -g base-index 1
set -g pane-base-index 1

set -g prefix C-a
unbind C-b
bind C-a send-prefix

bind -n F1 select-window -t 1
bind -n F2 select-window -t 2
bind -n F3 select-window -t 3
bind -n F4 select-window -t 4
bind -n F5 select-window -t 5
bind -n F6 select-window -t 6
bind -n F7 select-window -t 7
bind -n F8 select-window -t 8
bind -n F9 select-window -t 9
bind -n F10 select-window -t 10
bind -n F11 last-window
bind -n F12 choose-window

bind -n C-1 select-window -t 1
bind -n C-2 select-window -t 2
bind -n C-3 select-window -t 3
bind -n C-4 select-window -t 4
bind -n C-5 select-window -t 5
bind -n C-6 select-window -t 6
bind -n C-7 select-window -t 7
bind -n C-8 select-window -t 8
bind -n C-9 select-window -t 9
bind -n C-0 select-window -t 10
bind -n C-- last-window
bind -n C-= choose-window

bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8
bind -n M-9 select-window -t 9
bind -n M-0 select-window -t 10
bind -n M-- last-window
bind -n M-= choose-window

setw -g status-position top
setw -g status-bg white
setw -g status-fg black

setw -g status-interval 0

set -g status-left "[#{session_name}]"
set -g status-left-style "bg=white,fg=red,none"

set -g status-right "Copyright by Calvin"
set -g status-right-style "bg=white,fg=red,bright"

setw -g window-status-format " #I:#{pane_current_command} "
setw -g window-status-separator "|"
setw -g window-status-current-format " #I:#{pane_current_command} "
setw -g window-status-current-style "bg=black,fg=blue,bright"
setw -g window-status-last-style "bg=white,fg=blue,none"
setw -g window-status-style "bg=white,fg=black,none"

